<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">后台管理</a> - 禁言列表</li>
        </ul>
    </div>
    <div id="rightside">
        <div class="contentcontainer user_info">
            <div class="headings altheading">
                <h3>禁言列表</h3>
            </div>
            <div class="contentbox">
                <div class="extrabottom" style="height:auto;">
                    <form method="get" action="admin.php" class="">
                        <select name="length" class="span2">
                            <option value="20"$perpages[20]>每页显示20个</option>
                            <option value="50"$perpages[50]>每页显示50个</option>
                            <option value="100"$perpages[100]>每页显示100个</option>
                        </select> 
                       <input type="submit" value="查找列表" class="btn" />
                       <input type="hidden" name="ac" value="manage" />
                       <input type="hidden" value="getShutUpList" name="op">
                    </form>
                </div>
                <div style="clear: both;"></div>
                <table width="100%"  class="table table-striped">
                    <thead>
                        <tr>
                            <th>昵称</th>
                            <th>UID</th>
                            <th>禁言原因</th>
                            <th>禁言到期时间</th>
                            <th>何时被禁言时间</th>
                            <th>禁言次数</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!--{loop $list[gag_list] $value}-->
                        <tr>
                            <td><a href="admin.php?ac=user_profile&uid={$value[uid]}" target="_blank"><!--{if $value[status] > 0}--><span style="color:red;">{$value[user][nickname]}</span>
                                <!--{else}-->{$value[user][nickname]}<!--{/if}--></a></td>
                            <td><!--{$value[uid]}--></td>
                            <td>
                                <!--{$shutUpMsg[$value[uid]]}-->
                            </td>
                            <td>
                                <!--{date('Y-m-d H:i',$value[gag_time])}-->
                            </td>
                            <td>
                               <!--{date('Y-m-d H:i',$value[time])}-->
                            </td>
                            <td>
                            	$value[times]
                            </td>
                            <td>
                            	<a href="admin.php?ac=manage&op=removeShutUp&uid={$value[uid]}" target="_blank">删除</a>
                            </td>
                        </tr>
                        <!--{/loop}-->
                    </tbody>
                </table>
                
                <div class="extrabottom">
                    <ul>
                        <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
                        <li><img src="static/img/icons/gif_delete.gif" />封禁</li>
                    </ul>
                    <div class="bulkactions">
                        <ul class="pagination">
                            <!--{if $prevpurl!=''}-->
                            <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
                            <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
                            <!--{/if}-->
                            <li class="text"><a href="{$nextpurl}" title="">下一页</a></li>
                        </ul>
                        <div style="clear: both;"></div>
                    </div>
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
    </div>
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->